package cn.com.bluemoon.daps.model.core.file.transformer;

import cn.com.bluemoon.daps.model.entity.DapDataModelSubordinateKey;
import cn.com.bluemoon.daps.model.entity.DapDataModelTable;
import cn.com.bluemoon.daps.model.entity.DapDataModelTableField;
import cn.com.bluemoon.daps.model.entity.DapDataModelTablePartition;
import com.google.common.collect.Lists;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author Jarod.Kong
 * @date 2021/3/11 14:48
 */
@Data
@Builder
@ToString
public class ImportEntryTableDto implements Serializable {

    private static final long serialVersionUID = 1L;
    private DapDataModelTable table;
    private List<DapDataModelTableField> fields = Lists.newArrayList();
    private List<DapDataModelSubordinateKey> indexes = Lists.newArrayList();
    private List<DapDataModelTablePartition> partitions = Lists.newArrayList();
}
